package org.wu.framework.inner.lazy.orm.solon.config;

import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Inject;
import org.wu.framework.lazy.orm.database.lambda.stream.lambda.LazyLambdaStream;
import org.wu.framework.lazy.orm.database.sql.smart.database.Perfect;
import org.wu.framework.lazy.orm.database.sql.smart.database.SmartLazyOperationAutoStuffed;
import org.wu.framework.lazy.orm.database.sql.smart.database.persistence.LazySmartLazyOperation;


@Configuration
public class LazySmartLazyOperationSolonAutoConfiguration {

    @Inject
    private  SmartLazyOperationAutoStuffed  smartLazyOperationAutoStuffed;

    @Inject
    private Perfect perfect;

    @Inject
    private LazyLambdaStream lazyLambdaStream;

    @Bean
    public LazySmartLazyOperation lazySmartLazyOperation() {
        return new LazySmartLazyOperation(smartLazyOperationAutoStuffed, perfect, lazyLambdaStream);
    }
}
